package com.xuhai.blog.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xuhai.blog.admin.entity.CategoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 文章分类表 服务类
 * </p>
 *
 * @author 机蜂
 * @since 2022-02-08
 */
public interface CategoryService extends IService<CategoryEntity> {
    IPage<CategoryEntity> getPage(int page,int limit,CategoryEntity category);
    void deleteInfo(Integer categoryId);
    List<CategoryEntity> select();
    int getCount(Integer status);
    List<CategoryEntity> getPieData();
}
